-- GENERATED SPELL FOR [Crystal Spine Basilisk] --


function spell0_689(pUnit, Event) --@Crystal Gaze,n/a--
pUnit:FullCastSpellOnTarget(3635,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_689', 8000, 1)
end

function Sorts_689(pUnit, Event)
local choix_sorts_689 = math.random(0, 0)
if choix_sorts_689 == 0 then
pUnit:RegisterEvent('spell0_689', 1, 1)
end
end

function mob689_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_689', math.random(1500, 3000), 1)
end

function mob689_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob689_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob689_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(689, 1, 'mob689_Action')
RegisterUnitEvent(689, 2, 'mob689_Leave')
RegisterUnitEvent(689, 3, 'mob689_Kill')
RegisterUnitEvent(689, 4, 'mob689_Die')
